home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / v cisle / ospsi / PSISetup.exe / psi.inf < prev    next >
Windows Setup INFormation  |  2008-02-19  |  3KB  |  94 lines

  1. ;;;
  2. ;;; PSI
  3. ;;;
  4.  
  5. [Version]
  6. Signature   = "$Windows NT$"
  7. Class       = "ActivityMonitor"                         ;This is determined by the work this filter driver does
  8. ClassGuid   = {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2}    ;This value is determined by the Class
  9. Provider    = %Company%
  10. DriverVer   = 04/10/2007,1.0.0.0
  11.  
  12. [DestinationDirs]
  13. DefaultDestDir      = 12
  14. PSI.DriverFiles     = 12    ;%windir%\system32\drivers
  15.  
  16. ;;
  17. ;; Default install sections
  18. ;;
  19.  
  20. [DefaultInstall]
  21. OptionDesc          = %ServiceDescription%
  22. CopyFiles           = PSI.DriverFiles
  23.  
  24. [DefaultInstall.Services]
  25. AddService          = %ServiceName%,,PSI.Service
  26.  
  27. ;;
  28. ;; Default uninstall sections
  29. ;;
  30.  
  31. [DefaultUninstall]
  32. DelFiles   = PSI.DriverFiles
  33.  
  34. [DefaultUninstall.Services]
  35. DelService = %ServiceName%,0x200      ;Ensure service is stopped before deleting
  36.  
  37. ;;
  38. ;; Services Section
  39. ;;
  40.  
  41. [PSI.Service]
  42. DisplayName      = %ServiceName%
  43. Description      = %ServiceDescription%
  44. ServiceBinary    = %12%\%DriverName%.sys        ;%system32%\drivers\
  45. Dependencies     = FltMgr
  46. ServiceType      = 2                            ;SERVICE_FILE_SYSTEM_DRIVER
  47. StartType        = 3                            ;SERVICE_DEMAND_START
  48. ErrorControl     = 1                            ;SERVICE_ERROR_NORMAL
  49. LoadOrderGroup   = "FSFilter Activity Monitor"
  50. AddReg           = PSI.AddRegistry
  51.  
  52. ;;
  53. ;; Registry Modifications
  54. ;;
  55.  
  56. [PSI.AddRegistry]
  57. HKR,"Instances","DefaultInstance",0x00000000,%DefaultInstance%
  58. HKR,"Instances\"%Instance1.Name%,"Altitude",0x00000000,%Instance1.Altitude%
  59. HKR,"Instances\"%Instance1.Name%,"Flags",0x00010001,%Instance1.Flags%
  60. HKR,"Instances\"%Instance2.Name%,"Altitude",0x00000000,%Instance2.Altitude%
  61. HKR,"Instances\"%Instance2.Name%,"Flags",0x00010001,%Instance2.Flags%
  62. HKR,"Instances\"%Instance3.Name%,"Altitude",0x00000000,%Instance3.Altitude%
  63. HKR,"Instances\"%Instance3.Name%,"Flags",0x00010001,%Instance3.Flags%
  64.  
  65. ;;
  66. ;; Copy Files
  67. ;;
  68.  
  69. [PSI.DriverFiles]
  70. %DriverName%.sys
  71.  
  72. ;;
  73. ;; String Section
  74. ;;
  75.  
  76. [Strings]
  77. Company                 = "Secunia"
  78. ServiceDescription      = "PSI mini-filter driver"
  79. ServiceName             = "PSI"
  80. DriverName              = "psi_mf"
  81.  
  82. ;Instances specific information.
  83. DefaultInstance         = "PSI - Top Instance"
  84. Instance1.Name          = "PSI - Middle Instance"
  85. Instance1.Altitude      = "370000"
  86. Instance1.Flags         = 0x1          ; Suppress automatic attachments
  87. Instance2.Name          = "PSI - Bottom Instance"
  88. Instance2.Altitude      = "361000"
  89. Instance2.Flags         = 0x1          ; Suppress automatic attachments
  90. Instance3.Name          = "PSI - Top Instance"
  91. Instance3.Altitude      = "385000"
  92. Instance3.Flags         = 0x1          ; Suppress automatic attachments
  93.  
  94.